package com.ruoyi.common.exception.backendEnum;

public enum SatelliteException {

    SATELLITE_DATA_NOT_EXIST(400,"卫星信息数据不存在"),
    SATELLITE_DATA_NOT_FOUND(400,"卫星信息数据未查询到"),
    SATELLITE_FILE_NOT_EXIST_IN_MINIO(400,"卫星信息文件不存在MinIO中，请重新上传"),
    SATELLITE_FILE_RGB_FUSION_SLICING_FAIL(400,"卫星遥感影像RGB融合分片发布失败"),
    SATELLITE_BAND_FUSION_FAILURE(400,"卫星影像获取融合波段切片失败");

    private final int code;
    private final String message;

    SatelliteException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}

